package cn.ztydata.teachingsystem.heaven.dao.redis;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.redis.core.RedisTemplate;

import javax.annotation.Resource;

/**
 * Redis Dao 基类
 * Created by chenxin on 2014/12/8.
 */
public class BaseRedisDao {
    protected static Logger logger = LoggerFactory.getLogger(BaseRedisDao.class); //日志记录器
    @Resource(name = "basicRedisTemplate")
    protected RedisTemplate redisTemplate; //sdr-Redis模版
}
